<template>
  <view class="pay">
    <topTitle title="支付設置" />
    <view class="tab">
      <view @tap="goTo('/pages/pay/paymentPassword')">
        <view>{{
          myUserInfo.payment_password_set ? "修改支付密碼" : "設置支付密碼"
        }}</view>
      </view>
      <view>
        <view>忘記支付密碼</view>
      </view>
    </view>
    <view class="tab">
      <view @tap="goTo('/pages/pay/bankCardManagement')">
        <view>銀行卡管理</view>
      </view>
    </view>
  </view>
</template>

<script setup lang="ts">
import { ref } from "vue";
import { onShow } from "@dcloudio/uni-app";
let myUserInfo = ref();
onShow(() => {
  myUserInfo.value = uni.getStorageSync("userInfo");
});
</script>
<style scoped lang="scss">
@import "../../static/scss/pay.scss";
</style>
